# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'IconSelectionDialog.ui'
#
# Created: Tue Mar 29 23:49:18 2011
#      by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_IconSelectionDialog(object):
    def setupUi(self, IconSelectionDialog):
        IconSelectionDialog.setObjectName(_fromUtf8("IconSelectionDialog"))
        IconSelectionDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        IconSelectionDialog.resize(606, 484)
        IconSelectionDialog.setModal(True)
        self.gridLayout = QtGui.QGridLayout(IconSelectionDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.scrollArea = QtGui.QScrollArea(IconSelectionDialog)
        self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget(self.scrollArea)
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 588, 434))
        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
        self.gridLayout_3 = QtGui.QGridLayout(self.scrollAreaWidgetContents)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.icons = QtGui.QListWidget(self.scrollAreaWidgetContents)
        self.icons.setIconSize(QtCore.QSize(64, 64))
        self.icons.setMovement(QtGui.QListView.Static)
        self.icons.setFlow(QtGui.QListView.LeftToRight)
        self.icons.setProperty(_fromUtf8("isWrapping"), True)
        self.icons.setGridSize(QtCore.QSize(65, 65))
        self.icons.setViewMode(QtGui.QListView.IconMode)
        self.icons.setObjectName(_fromUtf8("icons"))
        self.gridLayout_3.addWidget(self.icons, 0, 0, 1, 1)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout.addWidget(self.scrollArea, 0, 0, 1, 2)
        self.cancelBtn = QtGui.QPushButton(IconSelectionDialog)
        self.cancelBtn.setMinimumSize(QtCore.QSize(130, 0))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/UI/icons/Burn dustbin.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cancelBtn.setIcon(icon)
        self.cancelBtn.setObjectName(_fromUtf8("cancelBtn"))
        self.gridLayout.addWidget(self.cancelBtn, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)

        self.retranslateUi(IconSelectionDialog)
        QtCore.QObject.connect(self.icons, QtCore.SIGNAL(_fromUtf8("doubleClicked(QModelIndex)")), IconSelectionDialog.selectIcon)
        QtCore.QObject.connect(self.cancelBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), IconSelectionDialog.selectNothing)
        QtCore.QMetaObject.connectSlotsByName(IconSelectionDialog)
        IconSelectionDialog.setTabOrder(self.icons, self.scrollArea)
        IconSelectionDialog.setTabOrder(self.scrollArea, self.cancelBtn)

    def retranslateUi(self, IconSelectionDialog):
        IconSelectionDialog.setWindowTitle(QtGui.QApplication.translate("IconSelectionDialog", "Select icon", None, QtGui.QApplication.UnicodeUTF8))
        self.cancelBtn.setText(QtGui.QApplication.translate("IconSelectionDialog", "Select Nothing", None, QtGui.QApplication.UnicodeUTF8))

from . import resources_rc
